package com.mika.music.model;

import lombok.Data;

import java.util.List;

@Data
public class Comments {
    // 用来记录多条评论列表，以及当前歌曲的总评论页数
    private List<Comment> commentList;
    private Integer totalPage;
    // 每页评论展示数量
    private Integer commentsPerPage;

    public Comments(List<Comment> commentList, Integer totalPage, Integer commentsPerPage) {
        this.commentList = commentList;
        this.totalPage = totalPage;
        this.commentsPerPage = commentsPerPage;
    }

    public Comments() {
    }
}
